package mylab.utils.common.guava;


public abstract class AbstractEvent<S, C> {
    protected S source;
    protected C content;

    public AbstractEvent() {
    }

    public AbstractEvent(C content) {
        this(null, content);
    }

    public AbstractEvent(S source, C content) {
        this.source = source;
        this.content = content;
    }

    public S getSource() {
        return source;
    }

    public void setSource(S source) {
        this.source = source;
    }

    public C getContent() {
        return content;
    }

    public void setContent(C content) {
        this.content = content;
    }

}
